package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 后台管理人员列表
 */
public class BackofficeTable {
    private int id;
    /* 图片 */
    private String piano;
    /* 账户昵称 */
    private String name;
    private String account;
    private int sex;
    /* 手机号 */
    private String phone;
    /* 身份证号 */
    private String idcard;
    /* 封停时间 */
    private int bannum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    /* 出生日期 */
    private Timestamp dateofbirth;
    /* 所属部门 */
    private String department;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    /* 注册时间 */
    private Timestamp registtime;
    /* 注册IP */
    private String registip;
    /* 电子邮件 */
    private String mail;
    /* 个性签名 */
    private String signature;
    /* 是否删除 */
    private int isdel;
    /* 允许 */
    private String permission;
    /* 状态 */
    private int state;
    /* 祖册时间String类型 */
    private String zctime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPiano() {
        return piano;
    }

    public void setPiano(String piano) {
        this.piano = piano;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public Timestamp getDateofbirth() {
        return dateofbirth;
    }

    public void setDateofbirth(Timestamp dateofbirth) {
        this.dateofbirth = dateofbirth;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Timestamp getRegisttime() {
        return registtime;
    }

    public void setRegisttime(Timestamp registtime) {
        this.registtime = registtime;
    }

    public String getRegistip() {
        return registip;
    }

    public void setRegistip(String registip) {
        this.registip = registip;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public int getBannum() {
        return bannum;
    }

    public void setBannum(int bannum) {
        this.bannum = bannum;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getZctime() {
        return zctime;
    }

    public void setZctime(String zctime) {
        this.zctime = zctime;
    }

    @Override
    public String toString() {
        return "Backofficetable{" +
                "id=" + id +
                ", piano='" + piano + '\'' +
                ", name='" + name + '\'' +
                ", account='" + account + '\'' +
                ", sex=" + sex +
                ", phone='" + phone + '\'' +
                ", idcard='" + idcard + '\'' +
                ", bannum=" + bannum +
                ", dateofbirth=" + dateofbirth +
                ", department='" + department + '\'' +
                ", registtime=" + registtime +
                ", registip='" + registip + '\'' +
                ", mail='" + mail + '\'' +
                ", signature='" + signature + '\'' +
                ", isdel=" + isdel +
                ", permission='" + permission + '\'' +
                ", state=" + state +
                ", zctime='" + zctime + '\'' +
                '}';
    }
}
